package day03.homework;

public class OperDemo4 {
    public static void main(String[] args) {
        int a=6;
        System.out.println(a+=5);//11
        System.out.println(a*=9);//99
        System.out.println(a/=3);//33
        System.out.println(a-=3);//30
        System.out.println(a%=2);//0
        System.out.println("-------------------------------");

        short b=12;
        b = (short)(b+10);//22
        b += 10;//32
        System.out.println("b="+b);//32
    }
}
